@WebServLet("/forward")
public class DispatcherServlet extendsHttpServlet {
    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Servlet {
    System.out.println("DispatcherServlet doGet");
            req.getRequestDispatcher(s:"/WEB-INF/admain.jsp").

    forward(req, resp);
}

}